//
//  GetMoreCommentModel.m
//  FloatClouds
//
//  Created by 黄威 on 16/09/12
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "GetMoreCommentModel.h"
#import "Coments.h"

@implementation GetMoreCommentModel

- (void)setValue:(id)value forKey:(NSString *)key{

    [super setValue:value forKey:key];
    
    if ([key isEqualToString:@"coments"]) {
        
        
        NSMutableArray *array = [NSMutableArray array];
        
        for (NSDictionary *dic in value) {
            
            Coments *comment = [Coments modelWithDic:dic];
            
            [array addObject:comment];
            
        }
        _coments = array;
        
    }



}



@end
